package com.tom.common;

import java.util.Arrays;

public class MyOrder {
    private Integer id;
    private Integer restaurantId;
    private String orderId;
    private String restaurantName;
    private OrderFoodUtil[] orderFoods;
    private String address;
    private Byte sta;

    public Byte getSta() {
        return sta;
    }

    public void setSta(Byte sta) {
        this.sta = sta;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Integer restaurantId) {
        this.restaurantId = restaurantId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getRestaurantName() {
        return restaurantName;
    }

    public void setRestaurantName(String restaurantName) {
        this.restaurantName = restaurantName;
    }

    public OrderFoodUtil[] getOrderFoods() {
        return orderFoods;
    }

    public void setOrderFoods(OrderFoodUtil[] orderFoods) {
        this.orderFoods = orderFoods;
    }

    @Override
    public String toString() {
        return "MyOrder{" +
                "id=" + id +
                ", restaurantId=" + restaurantId +
                ", orderId='" + orderId + '\'' +
                ", restaurantName='" + restaurantName + '\'' +
                ", orderFoods=" + Arrays.toString(orderFoods) +
                ", address='" + address + '\'' +
                ", sta=" + sta +
                '}';
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
